package com.qf.service;

import com.qf.model.Device;
import com.qf.page.PageResult;
import com.qf.page.QueryPageBean;

import java.util.List;

public interface DeviceService {
    List<Device> findAll();

    PageResult findPage(QueryPageBean queryPageBean);

    int deleteById(Integer id);

    int edit(Device device);

    Device findById(int id);

    int addDevice(Device device);
}
